package com.mspbots.core.wise.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.JsonNode;
import com.mspbots.core.typehandler.JsonNodeTypeHandler;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * com.mspbots.dto.TenSchedulePO
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/6/4
 */
@Data
@TableName(autoResultMap = true)
public class TenantSchedule extends TenantEntity {

    private Integer memberId;
    private Long cwId;
    private Long objectId;
    private String name;
    private String identifier;
    private LocalDateTime dateStart;
    private LocalDateTime dateEnd;
    private Boolean doneFlag;
    private LocalDateTime createdTime;
    private LocalDateTime updateTime;
    private LocalDateTime syncTime;
    @TableField(typeHandler = JsonNodeTypeHandler.class)
    private JsonNode extend;

}
